package com.hurt.competition.admin.mapper;

import com.hurt.competition.admin.dto.AdLoginReq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdLoginMapper{
    @Select("select id from admin_login where admin_name = #{admin_name} and admin_pwd = #{admin_pwd}")
    public AdLoginReq adminLogin(String admin_name, String admin_pwd);
}
